package com.liusand.service;

import com.liusand.dto.OrderDto;
import com.liusand.dto.UpdateOrderDto;
import com.liusand.pojo.PageInfo;
import com.liusand.vo.ClientOrderVo;
import com.liusand.vo.OrderVo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author :liusha
 * packageName :com.liusand.service
 * fileName :OrderService
 * creationTime :2022/12/5 18:50
 */
public interface OrderService {
    PageInfo<OrderVo> page(LocalDateTime beginTime, LocalDateTime endTime, String number, Integer page, Integer pageSize);

    boolean modifyOrderStatus(UpdateOrderDto updateOrderDto);

    boolean submit(OrderDto orderDto);

    PageInfo<ClientOrderVo> userPage(Integer page, Integer pageSize);
}
